package cn.tedu.blackhorse.mapper;

import cn.tedu.blackhorse.pojo.entity.Student;
import cn.tedu.blackhorse.pojo.vo.AdminStandardVO;
import cn.tedu.blackhorse.pojo.vo.StudentListItemVO;
import cn.tedu.blackhorse.pojo.vo.StudentStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface StudentMapper {
    int insert(Student student);

    int deleteById(Long id);

    int deleteByIds(List<Long> ids);

    int updateById(Student student);

    int count();

    List<StudentListItemVO> list();

    StudentStandardVO getById(Long id);

    int countByStudentId(Integer studentId);

    int countByClassId(Long classId);

}
